package com.wjw.bms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wjw.bms.dao.HzDepartmentDao;
import com.wjw.bms.model.HzDepartment;
import com.wjw.bms.service.HzDepartmentService;

@Service
public class HzDepartmentServiceImpl implements HzDepartmentService {

	@Autowired
	private HzDepartmentDao hzDepartmentDao;
	/**
	 * 查询所有部门
	* @Title: selectDepartment 
	* @Description: TODO 
	* @return  返回值为部门的集合
	* @see com.wjw.bms.service.HzDepartmentService#selectDepartment()
	 */
	public List<HzDepartment> selectDepartment() {
		List<HzDepartment> listDepartment = hzDepartmentDao.selectDepartment();
		return listDepartment;
	}

}
